package com.easylinkin.sm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.sm.entity.Feedback;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface FeedbackMapper extends BaseMapper<Feedback> {

  List<Feedback> getFeedback(@Param("modifier") String modifier,
      @Param("customerId") Long customerId, @Param("beginTime") String beginTime,
      @Param("endTime") String endTime, Page page);

  String getDetails(@Param("id") Long id);
}
